﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace XNAGame_Lab1
{
    public class CharactorItem : MyXNAButton
    {
      protected  Charactor charactor;
        
                   public CharactorItem(Charactor myXNA,ContentManager content, List<string> strTexture, int nSprites, Vector2 topleft, Vector2 size):base (content,strTexture,nSprites,topleft,size)
        {
                       this.charactor = myXNA;

        }
                   public CharactorItem(Charactor myXNA,ContentManager content, string refix, int nSprites, Vector2 topleft, Vector2 size)
                       : base(content, refix, nSprites, topleft, size)
        {
            this.charactor = myXNA;
        }
        public CharactorItem(){}
        
    }
}
